import 'package:flutter/material.dart';
import 'package:flutter_parallax_effect_study/sliding_cards.dart';
import 'package:flutter_parallax_effect_study/tabs.dart';

import 'exhibition_bottom.sheet.dart';

class HomePage extends StatelessWidget {
  const HomePage({super.key});

  @override
  Widget build(BuildContext context) {
    return const Scaffold(
      backgroundColor: Colors.white,
      body: Stack(
        children: [
          SafeArea(
              child: Column(
            crossAxisAlignment: CrossAxisAlignment.start,
            children: [
              SizedBox(
                height: 8,
              ),
              Header(),
              SizedBox(height: 40),
              Tabs(),
              SizedBox(height: 8,),
              SlidingCardsView()
            ],
          ),),
          ExhibitionBottomSheet()
        ],
      ),
    );
  }
}

class Header extends StatelessWidget {
  const Header({super.key});

  @override
  Widget build(BuildContext context) {
    return const Padding(
      padding: EdgeInsets.symmetric(horizontal: 32),
      child: Text(
        "SAIKE",
        style: TextStyle(fontSize: 22, fontWeight: FontWeight.w600),
      ),
    );
  }
}
